<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
	<title>Sun Yu index page</title>
	<link rel="stylesheet" href="css/main.css">
	<link rel="stylesheet" href="css/admin_login.css">
</head>
<body>
	<div id="header">
		<div id="header_banner_img">
		</div>
	</div>
	<div id="content">
		<div id="left_nav">
			<a class="left_button" href="admin_add_user.jsp">添加用户</a>
			<a class="left_button" href="admin_add_bus_line.jsp">添加班车</a>
			<a class="left_button" href="AdminPreAddBusTimeProc.do">添加班车时间</a>
			<a class="left_button" href="">退出</a>
		</div>
		<div id="right_content">
			<div id="login_block">
				<%
					String msg = (String)request.getAttribute("msg");
					if (msg != null && msg != "") {
						out.print("<div id=\"msg\">" + msg + "</div>");
					}
				%>
				<div id="top_fill">
					添加新用户
				</div>
				<form id="login_form" action="AdminAddUserProc.do">
					<div id="login_input_line">
						<div id="login_input_lable"> 用户名 </div>
						<input name="user_id" type="text"/>
					</div>
					<div id="login_input_line">
						<div id="login_input_lable"> 密码 </div>
						<input name="user_password" type="password"/>
					</div>
					<div id="login_input_line">
						<div id="login_input_lable"> 确认密码 </div>
						<input name="user_confirm_password" type="password"/>
					</div>
					<div id="login_input_line">
						<div id="login_input_lable"> 用户类型 </div>
						<select name="user_type">
  							<option value="teacher">老师</option>
  							<option value="student">学生</option>
						</select>
					</div>
					<div id="login_input_button_line">
						<div id="login_input_button_fill_0"> </div>
						<input class="login_input_buttons" name="login" type="submit" value="添加用户">
					</div>
				</form>
			</div>
		</div>
	</div>
	<div id="footer">
	</div>
</body>
</html>